package com.baijing.springbootwebsocket;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * websocket 使用：服务端主动向客户端发送消息
 * 广播式
 * 点对点式,聊天框
 *
 * @author Bai Jing on 2022-04-07
 */
@SpringBootApplication
public class SpringBootWebsocketApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringBootWebsocketApplication.class, args);

        System.out.println("spring-boot-websocket启动成功...");
    }

}
